#include "leetcode.h"

struct TreeNode
{
    TreeNode( int32_t v ) : value( v ) { }
    int32_t   value = 0;
    TreeNode* left  = std::nullptr_t();
    TreeNode* right = std::nullptr_t();
};

extern uint32_t BinaryTreeMinDepth( TreeNode* root );
